package com.by.strategy.impl;

import com.by.constant.AuthConstants;
import com.by.strategy.LoginStrategy;
import io.swagger.v3.oas.annotations.servers.Server;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.stereotype.Service;

/**
 * @author ServivE
 * @version 0.1
 * @className MemberLoginStrategy
 * @description
 * @date 2024/12/4 17:51
 * @since jdk17
 */

/**
 * 具体的会员登录策略
 */
@Service(AuthConstants.MEMBER_LOGIN)
public class MemberLoginStrategy implements LoginStrategy {
    /**
     * 编写用户购物车系统会员的登录逻辑
     * @param username
     * @return
     */
    @Override
    public UserDetails realLogin(String username) {
        return null;
    }
}
